#ifndef WORLD_H
#define WORLD_H


#include <QDebug>
#include <QGraphicsScene>
#include "movingobject.h"
#include "bot.h"
#include "mapelement.h"
#include "graph.h"
#include "astar.h"
#include "bullet.h"

class Bot;
class Zombie;
class ZombieMaster;

class World: public QGraphicsScene
{
private:
     Bot* m_bot;

     ZombieMaster* master;
     QList<Zombie*> zombies;

     Graph* m_graph;
     AStar* m_astarSearch;
     Path* m_sPath;

     int aaa;

public slots:
    void mousePressEvent(QGraphicsSceneMouseEvent *event);

public:

    QQueue<Bullet *> bullets;
    QVector<MapElement *> m_mapelements;
    World();
    void  collide();

};

#endif // WORLD_H
